package com.cctcq.domain;

import java.sql.Timestamp;

/**
 * HowToPlayHearsay entity. @author MyEclipse Persistence Tools
 */

public class HowToPlayHearsay implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -1435974783040073949L;
	private String howToPlayHearsayId;
	private Product product;
	private WebLoginAccount webLoginAccount;
	private String title;
	private String content;
	private Timestamp createdate;

	// Constructors

	/** default constructor */
	public HowToPlayHearsay() {
	}

	/** minimal constructor */
	public HowToPlayHearsay(String howToPlayHearsayId, Timestamp createdate) {
		this.howToPlayHearsayId = howToPlayHearsayId;
		this.createdate = createdate;
	}

	/** full constructor */
	public HowToPlayHearsay(String howToPlayHearsayId, Product product,
			WebLoginAccount webLoginAccount, String title, String content,
			Timestamp createdate) {
		this.howToPlayHearsayId = howToPlayHearsayId;
		this.product = product;
		this.webLoginAccount = webLoginAccount;
		this.title = title;
		this.content = content;
		this.createdate = createdate;
	}

	// Property accessors

	public String getHowToPlayHearsayId() {
		return this.howToPlayHearsayId;
	}

	public void setHowToPlayHearsayId(String howToPlayHearsayId) {
		this.howToPlayHearsayId = howToPlayHearsayId;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public WebLoginAccount getWebLoginAccount() {
		return this.webLoginAccount;
	}

	public void setWebLoginAccount(WebLoginAccount webLoginAccount) {
		this.webLoginAccount = webLoginAccount;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

}